Optimal. Leaf size=98 \[ \frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {3 \sqrt {d} (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {49, 52, 65, 223,
212} \begin {gather*} \frac {3 \sqrt {d} (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{b^{5/2}}+\frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 49
Rule 52
Rule 65
Rule 212
Rule 223
Rubi steps
\begin {align*} \int \frac {(c+d x)^{3/2}}{(a+b x)^{3/2}} \, dx &=-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {(3 d) \int \frac {\sqrt {c+d x}}{\sqrt {a+b x}} \, dx}{b}\\ &=\frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {(3 d (b c-a d)) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{2 b^2}\\ &=\frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {(3 d (b c-a d)) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{b^3}\\ &=\frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {(3 d (b c-a d)) \text {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{b^3}\\ &=\frac {3 d \sqrt {a+b x} \sqrt {c+d x}}{b^2}-\frac {2 (c+d x)^{3/2}}{b \sqrt {a+b x}}+\frac {3 \sqrt {d} (b c-a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.41, size = 89, normalized size = 0.91 \begin {gather*} \frac {\frac {b \sqrt {c+d x} (-2 b c+3 a d+b d x)}{\sqrt {a+b x}}+3 \sqrt {\frac {b}{d}} d (-b c+a d) \log \left (\sqrt {a+b x}-\sqrt {\frac {b}{d}} \sqrt {c+d x}\right )}{b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-1)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \frac {\left (d x +c \right )^{\frac {3}{2}}}{\left (b x +a \right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 311, normalized size = 3.17 \begin {gather*} \left [-\frac {3 \, {\left (a b c - a^{2} d + {\left (b^{2} c - a b d\right )} x\right )} \sqrt {\frac {d}{b}} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} - 4 \, {\left (2 \, b^{2} d x + b^{2} c + a b d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {d}{b}} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) - 4 \, {\left (b d x - 2 \, b c + 3 \, a d\right )} \sqrt {b x + a} \sqrt {d x + c}}{4 \, {\left (b^{3} x + a b^{2}\right )}}, -\frac {3 \, {\left (a b c - a^{2} d + {\left (b^{2} c - a b d\right )} x\right )} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {d}{b}}}{2 \, {\left (b d^{2} x^{2} + a c d + {\left (b c d + a d^{2}\right )} x\right )}}\right ) - 2 \, {\left (b d x - 2 \, b c + 3 \, a d\right )} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (b^{3} x + a b^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (c + d x\right )^{\frac {3}{2}}}{\left (a + b x\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.03, size = 198, normalized size = 2.02 \begin {gather*} \frac {2 \left (\frac {\frac {1}{2} b^{2} d^{2} \sqrt {c+d x} \sqrt {c+d x}}{b^{3} \left |d\right |}+\frac {\frac {1}{2} \left (-3 b^{2} d^{2} c+3 b d^{3} a\right )}{b^{3} \left |d\right |}\right ) \sqrt {c+d x} \sqrt {a d^{2}-b c d+b d \left (c+d x\right )}}{a d^{2}-b c d+b d \left (c+d x\right )}+\frac {2 \left (3 a d^{3}-3 b c d^{2}\right ) \ln \left |\sqrt {a d^{2}-b c d+b d \left (c+d x\right )}-\sqrt {b d} \sqrt {c+d x}\right |}{2 b^{2} \sqrt {b d} \left |d\right |} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c+d\,x\right )}^{3/2}}{{\left (a+b\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________